package vn.fpt.fsoft.business.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import vn.fpt.fsoft.business.ServiceBus;
import vn.fpt.fsoft.common.exception.MyException;
import vn.fpt.fsoft.dao.ServiceDao;
import vn.fpt.fsoft.entities.Service;



public class ServiceBusImpl implements ServiceBus {

	@Autowired
	ServiceDao serviceDao;
	
	public void setServiceDao(ServiceDao serviceDao) {
		this.serviceDao = serviceDao;
	}
	
	
	@Override
	public List<Service> getAll() throws MyException {
		return serviceDao.getAll();
	}


	


	
}
